package com.xl.basic.entity.param;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.NonNull;
import lombok.experimental.Accessors;

/**
 * @author 钟勇
 * Create in 2023/9/8 16:18
 */
@Data
@Accessors(chain = true)
public class UpdCurrUserPasswordParam {
    @NonNull
    @NotBlank(message = "旧密码不能为空")
    private String oriPassword;

    @NonNull
    @NotBlank(message = "密码不能为空")
    private String password;
}
